package studay.brideg;

/**
 * @program: 设计模式
 * @description: 华为手机
 * @author: Tom
 * @create: 2022-01-06 19:15
 **/
public class SXPhone extends Phone{

    public SXPhone(Color color){
        super.setColor(color);
    }
    @Override
    public void run() {
        color.useColor();
        System.out.println("三星手机");
    }
}
